﻿using AsyncAwaitBestPractices.MVVM;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AsyncCommand = AsyncAwaitBestPractices.MVVM.AsyncCommand;

namespace Wemail.Models
{
    
    public class Response
    {
        public string msg { get; set; }
        public int code { get; set; }
        public int count { get; set; }
        public List<Novel> data { get; set; }
    }

    public class GetContent
    {
          public string msg { get; set; }
        public int code { get; set; }
        public int count { get; set; }
        public List<string> data { get; set; }
    }
    public class GetChapter
    {      public string msg { get; set; }
           public int code { get; set; }
           public int count { get; set; }
           public Chapter data { get; set; }
          
    }
    public class Novel
    {
        public string fictionId { get; set; }
        public string title { get; set; }
        public string author { get; set; }
        public string fictionType { get; set; }
        public string descs { get; set; }
        public string cover { get; set; }
        public string updateTime { get; set; }
        public AsyncCommand command { get; set; }
    }

    public class Chapter
    {  
        public string fictionId { get; set; }
        public string title { get; set; }
        public string author { get; set; }
        public string fictionType { get; set; }
        public string descs { get; set; }
        public string cover { get; set; }
        public string updateTime { get; set; }
        public List<ChapterList> chapterList { get; set; }
    }

    public class ChapterList
    {
        public string title { get; set; }
        public string chapterId { get; set; }
     
    }
     public class ChapterListAnaCommand
    {
        public string title { get; set; }
        public string chapterId { get; set; }
        public AsyncCommand cmd { get; set; }
    }
    


}
